﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Register.aspx.vb" Inherits="APhones2.Register1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
      SurName:   <asp:TextBox ID="tb_Surname" runat="server"></asp:TextBox>
    </p>
    <p>
       OtherName:  <asp:TextBox ID="tb_Othername" runat="server"></asp:TextBox>
    </p>
    <p>
      Gender:   <asp:DropDownList ID="dd_Gender" runat="server" 
            DataSourceID="SqlDataSource1" DataTextField="Gender" 
            DataValueField="Gender">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:Phones %>" 
            ProviderName="<%$ ConnectionStrings:Phones.ProviderName %>" 
            SelectCommand="SELECT DISTINCT [Gender] FROM [Profile]"></asp:SqlDataSource>
    </p>
    <p>
     Status:    <asp:DropDownList ID="dd_Status" runat="server" 
            DataSourceID="SqlDataSource2" DataTextField="Status" 
            DataValueField="Status">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
            ConnectionString="<%$ ConnectionStrings:Phones %>" 
            ProviderName="<%$ ConnectionStrings:Phones.ProviderName %>" 
            SelectCommand="SELECT DISTINCT [Status] FROM [Profile]"></asp:SqlDataSource>
    </p>
    <p>
        Birthday:  <asp:TextBox ID="tb_Birthday" runat="server"></asp:TextBox>
    </p>
    <p>
        Previuos Phone: <asp:TextBox ID="tb_previousphone" runat="server"></asp:TextBox>
    </p>
    <p>
      Email:  <asp:TextBox ID="tb_Email" runat="server"></asp:TextBox>
    </p>
    <p>
       Country:   <asp:TextBox ID="tb_Country" runat="server"></asp:TextBox>
    </p>
    <p>
       Location:  <asp:TextBox ID="tb_Location" runat="server"></asp:TextBox>
    </p>
    <p>
       Picture:  <asp:FileUpload ID="fp_Piture" runat="server" />
    </p>
    <p>
        <asp:Button ID="bt_submitProfile" runat="server" Text="Submit" />
    </p>
</asp:Content>
